package com.bnz;

import com.bnz.entity.Student;
import com.bnz.entity.Student2;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;

/**
 * 启动类
 */
// 没有指定扫描的包，会默认的去扫描声明该注解所在的类所在的包（com.bnz）
@SpringBootApplication
//@EnableConfigurationProperties({Student.class, Student2.class}) // 把生成的javabean放进spring容器中
public class MySpringBootApplication {

    public static void main(String[] args) {
        SpringApplication.run(MySpringBootApplication.class,args);
    }

}
